<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<style type="text/css">
html {
  font-family: Arial,Helvetica,sans-serif;
  background-color: white;
  color: black;
}
p {
  max-width: 60em;
}
table {
  border-collapse: collapse;
  empty-cells: show;
  margin: 1em 0em;
  border: 0.1em solid black;
}
th, td {
  border-style: solid;
  border-width: 0.05em 0.1em;
  border-color: black;
  padding: 0.1em 0.2em;
  height: 1.5em;
}
th {
  background-color: rgb(192, 192, 192);
  color: black;
  border-width: 0.1em;
  font-weight: bold;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 0.1em;
}
/* Widths of named columns */
col.name {
  width: 10em;
}
.action, .value, .arg {
  width: 15em;
}
/* Properties for the name column 
- td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
- col.name is against specs but works in IE
*/
td:first-child, col.name {
  background-color: rgb(240, 240, 240);
  text-transform: capitalize;
  letter-spacing: 0.1em;
}
/* required for IE */
th {
  font-style: normal;
}
</style>
<title>Robot Test Cases</title></head>
<body>
<h1>Robot Test Cases</h1>

<table border="1">
<colgroup span="99"><col class="name"><col class="value" span="4"></colgroup>
<thead>
<tr>
<th>Setting</th>
<th>Value</th>
<th>Value</th>
<th>value</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr><td>Documentation</td><td>Test case and user keyword names needing escaping because they contain</td><td>1) special characters in HTML (", &lt;, ...)</td><td>2) special characters in Robot test data.</td><td>In latter case special chars actually aren't that special because they aren't escaped.</td></tr><tr>
<td>Force Tags</td>
<td>regression</td>
<td>pybot</td>
<td>jybot</td>
<td></td>
</tr>
<tr>
<td>Suite Setup</td>
<td>Run Tests And Store Log</td>
<td></td>
<td></td>
<td></td>
</tr><tr><td>Resource</td><td>atest_resource.txt</td><td></td><td></td><td></td></tr>
</tbody>
</table>

<table border="1">
<colgroup span="99"><col class="name"><col class="value" span="4"></colgroup>
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
<th>Value</th>
<th>Value</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>

<table border="1">
<colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
<thead>
<tr>
<th>Test Case</th>
<th>Action</th>
<th>Argument</th>
<th>Argument</th>
<th>Argument</th>


</tr>
</thead>
<tbody>
<tr>
<td>Quotes</td>
<td>Check TC And UK Name</td>
<td>"Quotes"</td><td><br></td>

<td></td>


</tr>
<tr><td></td><td>Check Name In Log</td><td>&amp;quot;Quotes&amp;quot;</td><td>"Quotes"</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Tag</td><td>Check TC And UK Name</td><td>Tag &lt;pre&gt;</td><td><br></td><td></td></tr><tr><td></td><td>Check Name In Log</td><td>Tag &amp;lt;pre&amp;gt;</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>And</td><td>Check TC And UK Name</td><td>And &amp;</td><td></td><td></td></tr><tr><td></td><td>Check Name In Log</td><td>And &amp;amp;</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Backslashes</td><td>Check TC And UK Name</td><td>Backslashes \\ \\\\ \\\\\\ \\\\\\\\</td><td></td><td></td></tr><tr><td></td><td>Check Name In Log</td><td>Backslashes \\ \\\\ \\\\\\ \\\\\\\\</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Variable</td><td>Check TC And UK Name</td><td>Variable \${var}</td><td></td><td></td></tr><tr><td></td><td>Check Name In Log</td><td>Variable \${var}</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Newline And Tab</td><td>Check TC And UK Name</td><td>Newline \\n and Tab \\t</td><td></td><td></td></tr><tr><td></td><td>Check Name In Log</td><td>Newline \\n and Tab \\t</td><td></td><td></td></tr><tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>


</tr>
</tbody>
</table>

<table border="1">
<colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
<thead>
<tr>
<th>Keyword</th>
<th>Action</th>
<th>Argument</th>
<th>Argument</th>
<th>Argument</th>
</tr>
</thead>
<tbody>
<tr><td>Run tests And Store Log</td><td>Run Tests</td><td>--log mylogfile.html</td><td>output${/}names_needing_escaping.tsv</td><td></td></tr><tr><td></td><td>${LOG} =</td><td>Get File</td><td>${OUTDIR}${/}mylogfile.html</td><td></td></tr><tr><td></td><td>Set Suite Variable</td><td>$LOG</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr>
<td>Check TC And UK Name</td>
<td>[ Arguments ]</td>
<td>${name}</td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>${tc} =</td><td>Check Test Case</td>

<td>${name}</td>
<td></td>
</tr><tr><td></td><td>Should Be Equal</td><td>${tc.name}</td><td>${name}</td><td></td></tr><tr><td></td><td>Should Be Equal</td><td>${tc.kws[0].name}</td><td>${name}</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Check Name In Log</td><td>[ Arguments ]</td><td>${name_in_attrs}</td><td>${name_in_text}=${None}</td><td></td></tr><tr><td></td><td>${name_in_text} =</td><td>Set Variable If</td><td>${name_in_text}</td><td><br></td></tr><tr><td></td><td>...</td><td>${name_in_text}</td><td>${name_in_attrs}</td><td></td></tr><tr><td></td><td>${attrs} =</td><td>Catenate</td><td>class="name"</td><td>name="test_Names Needing Escaping.${name_in_attrs}"</td></tr><tr><td></td><td>...</td><td>title="Names Needing Escaping.${name_in_attrs}"</td><td></td><td></td></tr><tr><td></td><td>${exp} = </td><td>Set Variable</td><td>&lt;a ${attrs}&gt;${name_in_text}&lt;/a&gt;</td><td></td></tr><tr><td></td><td>Should Contain</td><td>${LOG}</td><td>${exp}</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr>
</tbody>
</table>

</body></html>